package com.xzl.org.learning_situation_analysis.dao;

import com.github.pagehelper.PageInfo;
import com.xzl.org.learning_situation_analysis.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.omg.CORBA.UserException;

import java.util.List;

/**
 * @author 夏智力
 * @FileName UserMapper
 * @date 2022/4/11 22:02
 * @Software: IntelliJ IDEA
 */
@Mapper
public interface UserMapper {

    User selectByUserName(String userName);

    int updatePassword(int userId, String password);

    int insertUser(User user);

    User selectById(int userId);

    List<User> selectAll();



}
